package com.chaos.framework.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author Jacky
 * @date 2020/5/26 11:58
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AutoIdModel extends Model {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

}
